import FormItems from '../utils/class/FormItems';

function useFormItems(model, attrs?: Omit<TFormItemsProps, 'model'>): FormItems {
  return new FormItems({
    model,
    ...attrs
  });
}

export default useFormItems;
